{extend name="main/main"/}

{block name="style"}{__block__}
    .mui-bar .mui-segmented-control { top:4px; } ul{ list-style:none; } .page-control { overflow: hidden; text-align: center; } .pagination { float: initial; } .mip-vd-tabs-nav { background-color:#f5f5f5; }
   
{/block}

{block name="main"}

<div class="nice-container m-t-header">

    <!-- {nicemip:articleinfo value="recommendList" where='is_recommend = 1' limit='4' /} -->
    {if condition="$siteImgInfo['siteNum'] > 1"}
    <mip-carousel
        autoplay
        defer="4000"
        layout="responsive"
        width="600"
        height="390"
        indicator>
        {foreach name="$siteImgInfo['siteImgArr']" id='v'}
        <mip-img 
            layout="responsive" 
            width="600" 
            height="390"
            src="{$domainStatic}/uploads/{$v}" layout="responsive">
        </mip-img>
        {/foreach}
    </mip-carousel>
    {else/}
        {if condition="$siteImgInfo['siteNum'] < 1"}
            <mip-img layout="container" src="{$domainStatic}/{$assets}/{$tplName}/images/no-images.jpg" alt='{$v.title}'></mip-img>
        {else/}
            <mip-img 
            layout="responsive" 
            width="600" 
            height="390"
            src="{$domainStatic}/uploads/{$mipInfo['siteImg']}">
            </mip-img>
        {/if}
    {/if}

    <!-- <mip-vd-tabs allow-scroll>
        <section>
        {nicemip:articlecategory value="val"}<li>{$val['name']}</li>{/nicemip:articlecategory}
        </section>
        {nicemip:articlecategory value="val"}
        <div>
            <ul class="mui-table-view">
                {nicemip:article value="v" cid='$val["id"]' limit='5'}
                    {include file="article/articleBlock"/}
                {/nicemip:article}
            </ul>
            <div class="p-xs text-center">
                <a data-type="mip" data-title="{$val['name']}" class="mui-btn mui-btn-primary"
                href="{$val['url']}">查看更多</a>
            </div>
        </div>
        {/nicemip:articlecategory}
    </mip-vd-tabs> --> 
    
   
        <!-- {nicemip:articlecategory value="val" limit='1'} -->
        <div class="ct"><p>最新列表</p></div> 
            <div>
                <ul class="mui-table-view">
                    {nicemip:article value="v" limit='30' orderBy="id"}
                        {include file="article/articleBlock"/}
                    {/nicemip:article}
                </ul>
              <!--   <div class="p-xs text-center">
                    <a data-type="mip" data-title="{$val['name']}" class="mui-btn mui-btn-primary"
                    href="{$val['url']}">查看更多</a>
                </div> -->
            </div> 
        <!-- {/nicemip:articlecategory} -->
</div>

{/block}
{block name="script"}{__block__}
<script src="https://mipcache.bdstatic.com/static/v1/mip-vd-tabs/mip-vd-tabs.js" type="text/javascript" charset="utf-8"></script>
{/block}
